package com.hllxd.hism.star.basic.service.model.rock;

import lombok.Data;

import java.util.List;

/**
 * @author lixiyong
 * @date 2020.11.04
 */
@Data public class YarnApplicationResult {
    public List<YarnQuotaEntity> quotas;
    public List<YarnApplicationEntity> applications;

    public static YarnApplicationResult build(List<YarnQuotaEntity> quotas, List<YarnApplicationEntity> applications) {
        YarnApplicationResult thiz = new YarnApplicationResult();
        thiz.quotas = quotas;
        thiz.applications = applications;
        return thiz;
    }
}
